package com.bing.bingPro.entity;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @TableName t_sgcc_power_cut_notice_all
 */
@Data
public class TSgccPowerCutNoticeAll implements Serializable {
    /**
     * dt
     */
    @ColumnWidth(14)
    @ExcelProperty(value = "数据时间", index = 0)
    private String dt;

    /**
     * 省份
     */
    @ColumnWidth(10)
    @ExcelProperty(value = "省份", index = 1)
    private String province;
    /**
     * 省份
     */
    @ColumnWidth(10)
    @ExcelProperty(value = "地市名", index = 2)
    private String cityName;
    /**
     * 地市
     */
    @ColumnWidth(10)
    @ExcelProperty(value = "区域", index = 3)
    private String regionName;
    /**
     * olt_ip
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "OLT_IP", index = 4)
    private String oltFaultOltIp;

    /**
     * 退服前活跃用户数
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "退服前活跃用户数", index = 5)
    private Integer oltBeforeFaultActiveUsrNum;


    /**
     * 排除停电用户数
     */
    @ColumnWidth(20)
    @ExcelProperty(value = "排除停电用户数")
    private Integer excludePowerCutUserNum;

    /**
     * 排除停电用户数
     */
    @ColumnWidth(24)
    @ExcelProperty(value = "国家电网是否有停电公告")
    private String stats;
    /**
     * 退服发生时间
     */
    @ColumnWidth(18)
    @ExcelProperty(value = "退服发生时间", index = 6)
    private String oltFaultStartTime;
    /**
     * 退服结束时间
     */
    @ColumnWidth(18)
    @ExcelProperty(value = "退服结束时间", index = 7)
    private String oltFaultEndTime;
    /**
     * 退服时长
     */
    @ColumnWidth(22)
    @ExcelProperty(value = "退服时长（min）", index = 8)
    private Double oltOosDuration;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}